<template>
  <div class="seek">
    <!-- 两列头像列表 -->
    <view class="card">
      <view class="image-section">
        <image
          class="profile-img"
          src="https://th.bing.com/th/id/R.a3326dfea8ea5544ebd406b824137ee9?rik=c6C3lRiXIQoEYg&riu=http%3a%2f%2fimg.touxiangwu.com%2fzb_users%2fupload%2f2022%2f11%2f202211021667379370320460.jpg&ehk=VTjaG57lKTodjm5E3FWOUlJf%2fWxUbyZ8lw%2bMXV2END4%3d&risl=&pid=ImgRaw&r=0"
        ></image>
        <view class="verified-badge">实名认证</view>
        <view class="name-overlay">
          <text>温泉鹅</text>
        </view>
      </view>
      <view class="details-section">
        <text class="info">23岁 · 142cm · 大专</text>
        <view class="location-section">
          <view class="location">
            <image src="../../../static/images/address.png" class="location-icon" />
            <text class="location">北京市</text>
          </view>
          <text class="job">市场/销售</text>
        </view>
      </view>
    </view>
    <view class="card">
      <view class="image-section">
        <image
          class="profile-img"
          src="https://th.bing.com/th/id/R.a3326dfea8ea5544ebd406b824137ee9?rik=c6C3lRiXIQoEYg&riu=http%3a%2f%2fimg.touxiangwu.com%2fzb_users%2fupload%2f2022%2f11%2f202211021667379370320460.jpg&ehk=VTjaG57lKTodjm5E3FWOUlJf%2fWxUbyZ8lw%2bMXV2END4%3d&risl=&pid=ImgRaw&r=0"
        ></image>
        <view class="name-overlay">
          <text>温泉鹅</text>
        </view>
      </view>
      <view class="details-section">
        <text class="info">23岁 · 142cm · 大专</text>
        <view class="location-section">
          <view class="location">
            <image src="../../../static/images/address.png" class="location-icon" />
            <text class="location">北京市</text>
          </view>
          <text class="job">市场/销售</text>
        </view>
      </view>
    </view>
    <view class="card">
      <view class="image-section">
        <image
          class="profile-img"
          src="https://th.bing.com/th/id/R.a3326dfea8ea5544ebd406b824137ee9?rik=c6C3lRiXIQoEYg&riu=http%3a%2f%2fimg.touxiangwu.com%2fzb_users%2fupload%2f2022%2f11%2f202211021667379370320460.jpg&ehk=VTjaG57lKTodjm5E3FWOUlJf%2fWxUbyZ8lw%2bMXV2END4%3d&risl=&pid=ImgRaw&r=0"
        ></image>
        <view class="name-overlay">
          <text>温泉鹅</text>
        </view>
      </view>
      <view class="details-section">
        <text class="info">23岁 · 142cm · 大专</text>
        <view class="location-section">
          <view class="location">
            <image src="../../../static/images/address.png" class="location-icon" />
            <text class="location">北京市</text>
          </view>
          <text class="job">市场/销售</text>
        </view>
      </view>
    </view>
  </div>
</template>

<script setup></script>

<style lang="scss" scoped>
.seek {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 14px;
}

.card {
  width: 48%;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.image-section {
  position: relative;
  width: 100%;
  height: 190px;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.verified-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: red;
  color: white;
  padding: 2px 5px;
  font-size: 12px;
  border-radius: 3px;
  z-index: 1;
}

.name-overlay {
  position: absolute;
  bottom: 4px;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 16px;
  padding: 5px 0;
}

.details-section {
  padding: 16px;
  text-align: center;
}

.info {
  font-size: 14px;
  margin-top: 8px;
  color: #666;
}

.location-section {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 8px;
  .location {
    background-color: #e5f6f8;
    color: #00aabf;
  }
  .location-icon {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    margin-bottom: 2px;
  }
}

.job {
  background-color: #e5f6f8;
  margin-left: 5px;
  font-size: 14px;
  color: #00aabf;
}
</style>
